package com.yuqing.sentimentapp.login.bean;

import com.linkface.baselibrary.http.BaseBean;
import com.yuqing.sentimentapp.channel.ChannelData;

import java.io.Serializable;
import java.util.List;

/**
 * Created by ShenHe on 2019/4/10.
 */

public class LoginResultBean extends BaseBean implements Serializable {

    /**
     * data : {"userCategory":[{"categoryId":"1","originId":"","categoryName":"推荐","categoryType":"R","status":"1","sort":1},{"categoryId":"2","originId":"4","categoryName":"外媒","categoryType":"N","status":"1","sort":2},{"categoryId":"3","originId":"1","categoryName":"时政","categoryType":"N","status":"1","sort":3},{"categoryId":"4","originId":"2","categoryName":"灾情","categoryType":"N","status":"1","sort":4},{"categoryId":"5","originId":"3","categoryName":"业务","categoryType":"N","status":"1","sort":5},{"categoryId":"6","originId":"","categoryName":"专题","categoryType":"T","status":"1","sort":6},{"categoryId":"7","originId":"5","categoryName":"热点","categoryType":"N","status":"1","sort":7}],"user":{"userCode":"1053111605008547840","username":"吉林总队","userType":"USER","canWrite":false,"audioUrl":"/public/sound/new-default.mp3","deptVo":{"deptCode":"1053076774047993856","deptName":"吉林总队","deptTreeCodes":"1044585665040277504,1053076774047993856","deptTreeNames":"中国消防部/吉林总队","regionCode":"220000","regionName":"吉林省","regionTreeCodes":"220000","regionTreeNames":"吉林省","expireTime":"Mar 1, 2020 12:00:00 AM","regionLevel":1,"deptLevel":"1","parentCode":"1044585665040277504","isVip":true},"play":true,"mapShowCount":5},"token":"475abf18-7f00-4b70-af46-93729edd7b47"}
     */

    private DataBean data;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean implements Serializable{
        /**
         * userCategory : [{"categoryId":"1","originId":"","categoryName":"推荐","categoryType":"R","status":"1","sort":1},{"categoryId":"2","originId":"4","categoryName":"外媒","categoryType":"N","status":"1","sort":2},{"categoryId":"3","originId":"1","categoryName":"时政","categoryType":"N","status":"1","sort":3},{"categoryId":"4","originId":"2","categoryName":"灾情","categoryType":"N","status":"1","sort":4},{"categoryId":"5","originId":"3","categoryName":"业务","categoryType":"N","status":"1","sort":5},{"categoryId":"6","originId":"","categoryName":"专题","categoryType":"T","status":"1","sort":6},{"categoryId":"7","originId":"5","categoryName":"热点","categoryType":"N","status":"1","sort":7}]
         * user : {"userCode":"1053111605008547840","username":"吉林总队","userType":"USER","canWrite":false,"audioUrl":"/public/sound/new-default.mp3","deptVo":{"deptCode":"1053076774047993856","deptName":"吉林总队","deptTreeCodes":"1044585665040277504,1053076774047993856","deptTreeNames":"中国消防部/吉林总队","regionCode":"220000","regionName":"吉林省","regionTreeCodes":"220000","regionTreeNames":"吉林省","expireTime":"Mar 1, 2020 12:00:00 AM","regionLevel":1,"deptLevel":"1","parentCode":"1044585665040277504","isVip":true},"play":true,"mapShowCount":5}
         * token : 475abf18-7f00-4b70-af46-93729edd7b47
         */

        private UserBean user;
        private String token;
        private List<ChannelData> userCategory;

        public UserBean getUser() {
            return user;
        }

        public void setUser(UserBean user) {
            this.user = user;
        }

        public String getToken() {
            return token;
        }

        public void setToken(String token) {
            this.token = token;
        }

        public List<ChannelData> getUserCategory() {
            return userCategory;
        }

        public void setUserCategory(List<ChannelData> userCategory) {
            this.userCategory = userCategory;
        }

        public static class UserBean implements Serializable{

            /**
             * username : 吉林总队
             * deptCode : 1053076774047993856
             * deptName : 吉林总队
             * deptVo : {"deptCode":"1053076774047993856","deptName":"吉林总队","deptTreeCodes":"1044585665040277504,1053076774047993856","deptTreeNames":"中国消防部/吉林总队","regionCode":"220000","regionName":"吉林省","regionTreeCodes":"220000","regionTreeNames":"吉林省","expireTime":"2020-03-01 00:00:00","regionLevel":1,"deptLevel":"1","parentCode":"1044585665040277504","isVip":true}
             * phone : 15714316866
             */

            private String username;
            private String deptCode;
            private String deptName;
            private DeptVoBean deptVo;
            private String phone;
            private int wxNotice;
            private int appNotice;
            private int buildId;

            public String getUsername() {
                return username;
            }

            public void setUsername(String username) {
                this.username = username;
            }

            public String getDeptCode() {
                return deptCode;
            }

            public void setDeptCode(String deptCode) {
                this.deptCode = deptCode;
            }

            public String getDeptName() {
                return deptName;
            }

            public void setDeptName(String deptName) {
                this.deptName = deptName;
            }

            public DeptVoBean getDeptVo() {
                return deptVo;
            }

            public void setDeptVo(DeptVoBean deptVo) {
                this.deptVo = deptVo;
            }

            public String getPhone() {
                return phone;
            }

            public void setPhone(String phone) {
                this.phone = phone;
            }

            public int getWxNotice() {
                return wxNotice;
            }

            public void setWxNotice(int wxNotice) {
                this.wxNotice = wxNotice;
            }

            public int getAppNotice() {
                return appNotice;
            }

            public void setAppNotice(int appNotice) {
                this.appNotice = appNotice;
            }

            public int getBuildId() {
                return buildId;
            }

            public void setBuildId(int buildId) {
                this.buildId = buildId;
            }

            public static class DeptVoBean implements Serializable{
                /**
                 * deptCode : 1053076774047993856
                 * deptName : 吉林总队
                 * deptTreeCodes : 1044585665040277504,1053076774047993856
                 * deptTreeNames : 中国消防部/吉林总队
                 * regionCode : 220000
                 * regionName : 吉林省
                 * regionTreeCodes : 220000
                 * regionTreeNames : 吉林省
                 * expireTime : 2020-03-01 00:00:00
                 * regionLevel : 1
                 * deptLevel : 1
                 * parentCode : 1044585665040277504
                 * isVip : true
                 */

                private String deptCode;
                private String deptName;
                private String deptTreeCodes;
                private String deptTreeNames;
                private String regionCode;
                private String regionName;
                private String regionTreeCodes;
                private String regionTreeNames;
                private String expireTime;
                private int regionLevel;
                private String deptLevel;
                private String parentCode;
                private boolean isVip;

                public String getDeptCode() {
                    return deptCode;
                }

                public void setDeptCode(String deptCode) {
                    this.deptCode = deptCode;
                }

                public String getDeptName() {
                    return deptName;
                }

                public void setDeptName(String deptName) {
                    this.deptName = deptName;
                }

                public String getDeptTreeCodes() {
                    return deptTreeCodes;
                }

                public void setDeptTreeCodes(String deptTreeCodes) {
                    this.deptTreeCodes = deptTreeCodes;
                }

                public String getDeptTreeNames() {
                    return deptTreeNames;
                }

                public void setDeptTreeNames(String deptTreeNames) {
                    this.deptTreeNames = deptTreeNames;
                }

                public String getRegionCode() {
                    return regionCode;
                }

                public void setRegionCode(String regionCode) {
                    this.regionCode = regionCode;
                }

                public String getRegionName() {
                    return regionName;
                }

                public void setRegionName(String regionName) {
                    this.regionName = regionName;
                }

                public String getRegionTreeCodes() {
                    return regionTreeCodes;
                }

                public void setRegionTreeCodes(String regionTreeCodes) {
                    this.regionTreeCodes = regionTreeCodes;
                }

                public String getRegionTreeNames() {
                    return regionTreeNames;
                }

                public void setRegionTreeNames(String regionTreeNames) {
                    this.regionTreeNames = regionTreeNames;
                }

                public String getExpireTime() {
                    return expireTime;
                }

                public void setExpireTime(String expireTime) {
                    this.expireTime = expireTime;
                }

                public int getRegionLevel() {
                    return regionLevel;
                }

                public void setRegionLevel(int regionLevel) {
                    this.regionLevel = regionLevel;
                }

                public String getDeptLevel() {
                    return deptLevel;
                }

                public void setDeptLevel(String deptLevel) {
                    this.deptLevel = deptLevel;
                }

                public String getParentCode() {
                    return parentCode;
                }

                public void setParentCode(String parentCode) {
                    this.parentCode = parentCode;
                }

                public boolean isIsVip() {
                    return isVip;
                }

                public void setIsVip(boolean isVip) {
                    this.isVip = isVip;
                }
            }
        }
    }
}
